import sys
import os

#
# Session Properties
#

SESSION_PROPERTY_API = "api"
SESSION_PROPERTY_API_HANDLER = "apihandler"
SESSION_PROPERTY_UI = "ui"
SESSION_PROPERTY_DB = "db"
SESSION_PROPERTY_FAMILY_ID = "familyid"

Session = "session"

#
# Page
#

ClientHtml = "clienthtml"

PageLogin = 0
PageFinance = 1
PageNote = 2
PageCalendar = 3
PageJourney = 4
PageLiving = 5
PageIds = {
    0: "uidLogin",
    1: "uidPageFinance",
    2: "uidPageNote",
    3: "uidPageCalendar",
    4: "uidPageJourney",
    5: "uidPageLiving"
}
